Otherwise it is not clear what is the item variable that we are
passing to _itemMenuStateChanged().
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2988>
}
_createAppItem(app) {
+ let item = new DashItemContainer();
let appIcon = new DashIcon(app);
appIcon.connect('menu-state-changed', (o, opened) => {
this._itemMenuStateChanged(item, opened);
});
- let item = new DashItemContainer();
item.setChild(appIcon);
// Override default AppIcon label_actor, now the